//
//  FrameGrid.m
//  Utils
//
//  Created by enghou on 2018/4/25.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "FrameGrid.h"

@implementation FrameGrid
-(instancetype)initWithSource:(NSDictionary *)source{
    self = [super initWithSource:source];
    if (self) {
        self.ids = [self contentForKey:@"id" withSource:source];
        self.name = [self contentForKey:@"name" withSource:source];
        self.isGrid = [[source objectForKey:@"isGrid"] boolValue];
    }
    return self;
}
@end
